package com.wfcm.entity;

import java.util.Date;
import java.util.List;

public class CourseWork {

    private Integer id;
    private Integer courseId;
    private Integer chapterId;
    private Integer status;
    private Integer userId;
    private Integer sort;
    private String form;
    private String data;
    private String courseName;
    private String chapterName;
    private String speakerName;
    private Date createTime;
    private Date updateTime;
    private String courseIds;
    private String chapterIds;
    private List<CourseWork> chapterList;

    public CourseWork() {
    }

    public CourseWork(String courseName, List<CourseWork> chapterList) {
        this.courseName = courseName;
        this.chapterList = chapterList;
    }

    public CourseWork(Integer userId, String chapterIds) {
        this.userId = userId;
        this.chapterIds = chapterIds;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getChapterId() {
        return chapterId;
    }

    public void setChapterId(Integer chapterId) {
        this.chapterId = chapterId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getForm() {
        return form;
    }

    public void setForm(String form) {
        this.form = form;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public String getCourseIds() {
        return courseIds;
    }

    public void setCourseIds(String courseIds) {
        this.courseIds = courseIds;
    }

    public String getChapterIds() {
        return chapterIds;
    }

    public void setChapterIds(String chapterIds) {
        this.chapterIds = chapterIds;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public List<CourseWork> getChapterList() {
        return chapterList;
    }

    public void setChapterList(List<CourseWork> chapterList) {
        this.chapterList = chapterList;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getSpeakerName() {
        return speakerName;
    }

    public void setSpeakerName(String speakerName) {
        this.speakerName = speakerName;
    }
}